#!/bin/bash

SUM=0 
TMP=0

for i in `seq 1 100`
do
	TMP=`tail -n1 $i`
	SUM=`expr $SUM + $TMP`
done

SUM=`expr $SUM / 100`

echo $SUM
